package com.empirisoftware.datastore.conf;

import com.empirisoftware.datastore.DAO;
import com.empirisoftware.datastore.DaoImpl;
import com.empirisoftware.datastore.PMF;
import com.google.inject.Binder;
import com.google.inject.Module;
import com.google.inject.Singleton;

public class DAOModule implements  Module {

	@Override
	public void configure(Binder binder) {
		binder.bind(PMF.class).in(Singleton.class);
		binder.bind(DAO.class).to(DaoImpl.class);
	}
}